﻿@using QDT.MVC.UI
@model QDT.Common.IPagedList<QDT.Web.Models.ArticleModel>

@{
    ViewBag.Title = "媒体报道";
}
<script type="text/javascript">
    $().ready(function () {
        $("#gray_two,#white_two").addClass("changed_display");
        $("#li_two a").addClass("changed_color");
    });
</script>
<div class="ui-body" style="padding: 0;background-color: #fff;">
       @Html.Partial("_ArticeNav", "Report")
    <div class="ui-inner ui-about">
        <div class="ui-grid-row">

            <div class="ui-grid-19">
                <div class="ui-about-main">
                    <div class="ui-about-bd">
                        <ul class="ui-about-list ui-media">
                            @foreach(var item in Model) {
                                <li style="border-bottom: 1px solid #cccccc;">
                                    <div class="txt" style="float: left;">
                                        <a href="@Url.Action("ShowDetailMedia","Article",new {id=item.Id})"><h3 style="margin-bottom: 0;">@item.Title</h3></a>
                                        <p  style="margin-bottom: 0;color: #ccc;">@item.CreateTime.ToString("yyyy 年 MM 月 dd 日")</p>
                                        <p>@(item.Brief!=null?(@item.Brief.Length > 80 ? @item.Brief.Substring(0, 80) : @item.Brief + "..."):"")<a style="margin-left: 20px;"href="@Url.Action("ShowDetail","Article",new {id=item.Id})">查看更多 ></a></p>
                                    </div>
                                     <div style="height: 160px;width: 180px;float: right"><img src="@item.Photo" alt="" /></div>
                                </li>
                            }
                        </ul>

                        @Html.ClientPager(Model)

                    </div>
                </div>
            </div>

             

        </div>
    </div>
</div>